<!-- Discription: 动态传参, author: ydj, Date: 2021-09-08 09:35:04 -->
<template>
 <div>
     <div>动态传递参数：{{$route.params.id}}</div>
     <div>动态传递参数：{{id}}</div>
 </div>
</template>

<script>
export default {
  props: {
    id: {
      type: Number
    }
  },
  components: {},
  data () {
    return {
    }
  },

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
</style>
